package com.shenyi.core.utils.oss;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author yikun.he
 * @version 1.0
 * @date 2019/2/11
 * @desc
 * @see
 * @since 1.0
 */
@Data
@Component
public class OssProperties {

    @Value("${aliyun.oss.agreement}")
    private String agreement;
    @Value("${aliyun.oss.endpoint}")
    private String endpoint;
    @Value("${aliyun.oss.access-key-id}")
    private String accessKeyId;
    @Value("${aliyun.oss.access-key-secret}")
    private String accessKeySecret;
    @Value("${aliyun.oss.bucket-name}")
    private String bucketName;
    @Value("${aliyun.oss.directory}")
    private String directory;

    public OssProperties() {
    }

}
